<?php

/**
 * @author christian
 * @copyright 2011
 */

//echo "registrar ....";
//echo getcwd();
//echo basename(getcwd());
$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDOperator";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/view/CDrawingFillTable.php");
include_once("$ruta/star.php");

$idOpe=$_GET['codigo'];


$action="CRegistroOperador.php";$name="formulario_registro";$method="post";$NAME="REGISTRO";
CDrawPageReg::getInstance()->DrawHead($action,$name,$method,$NAME);

$maintable="Operador";

$items=array("NamOpe"=>"Nombre del operador","DirOpe"=>"Direccion del operador","MailOpe"=>"Direccion-mail",
"PhoOpe"=>"Telefono del operador","CodPosOpe"=>"Codigo postal","WebSitOp"=>"Sitio Web");
CDrawPageReg::getInstance()->DrawTextFillBox($items, $maintable, $idOpe);

$NAMEbox="Ciudad";
$campos_table=array("idCit","NamCit");
$table="city";
CDrawPageReg::getInstance()->DrawSelect($maintable, $table,$campos_table,$NAMEbox, $idOpe);

$itemsi=array("FirstConOpe"=>"Nombre del contacto","LastConOpe"=>"Apellido del contacto");
CDrawPageReg::getInstance()->DrawTextFillBox($itemsi, $maintable, $idOpe);



$items3=array("ClasOpe"=>"Clasificacion del operador","CommOpe"=>"Comentarios" );
CDrawPageReg::getInstance()->DrawTextFillBox($items3, $maintable, $idOpe);

/********************
*COMBOBOX
**/

CDrawPageReg::getInstance()->DrawSubmmit("Actualizar");
CDrawPageReg::getInstance()->DrawFoot();
include_once("$ruta/elements/foot.tpl");


?>


<div>

</div>